package cn.deepxi.org.mapper;



import cn.deepxi.org.domain.Employee;
import cn.deepxi.org.domain.Employee;
import cn.deepxi.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper {

//查找所有
    List<Employee> loadAll();
    //基础查询
    void save(Employee d);

    void remove(Long id);

    void update(Employee d);

    Employee loadById(Long id );

    

    /**
     * 分页查询
     *
     */
    //查询总条数
    Long queryCount(EmployeeQuery query);
    //查询当前的页数
    List<Employee> queryData(EmployeeQuery query);
    //批量删除的方法
    void batchRemove(Long[] ids);


}
